<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/8/9
  Time: 10:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
    <title>Title</title>
</head>
<style>
.arrow{
    margin-left: 1000px;
}


</style>

<body>

<div align="center">
    <h1 align="center">欢迎光临</h1>
</div>
<form action="login" onSubmit="return login(this);">
    <table align="center">

        <tr>
            <td>用户名：</td>
            <td><input type="text" name="ename" id="ename"></td>
        </tr>
        <tr>
            <td>职&nbsp;务：</td>
            <td><input type="password" name="job" id="job"></td>
        </tr>
        <tr>
            <td><input type="submit" value="登录"></td>
            
            <td><a href="add.jsp">注册</a></td>
        </tr>

    </table>
</form>
<div class="arrow">
 <s:fielderror cssStyle="color:darkblue">
    <s:param>error</s:param>
 </s:fielderror>
</div>
</body>
</html>
